<header>
    <div class="header-wrapper">
        <div class="container">
            <div class="logo">
                <a href="{:U('/')}"><img src="__Public__/themes/images/logo2.png" /></a>
                <a href="{:U('Team/index')}"><img src="__Public__/themes/images/logo2-2.png" /></a>
            </div>
            <ul class="nav-menu pull-left">
                <li <if condition="$on eq 1"> class="active"</if>><a href="{:U('Team/baseinfo')}">团队</a></li>
            <if condition="$userinfo.teamid gt 0"><li <if condition="$on eq 2"> class="active"</if>><a href="{:U('Task/main')}">任务</a></li></if>
                <li <if condition="$on eq 3"> class="active"</if>>
                    <a href="{:U('Team/information')}">情报中心<gt name="msgCount" value="0"><span class="badge mybadge">{$msgCount}</span></gt></a>
                </li>
            </ul>
            <ul class="nav-menu pull-right">
                <notempty name="userinfo">
                    <li><a class="text-nowrap" href="<if condition='$userinfo.utype eq 1'>{:U('User/baseinfo')}<else />{:U('User/copinfo')}</if>">{$userinfo.nickname}</a></li>
                    <li class="link-login"><a href="{:U('Login/logout')}">退出</a></li>
                </notempty>
            </ul>
        </div>
    </div>
</header>